package com.jielihaofeng.site.article.service;

import com.jielihaofeng.site.article.vo.ArticleVO;
import com.jielihaofeng.framework.common.page.PageResult;
import com.jielihaofeng.framework.common.service.BaseService;
import com.jielihaofeng.site.article.entity.ArticleEntity;
import com.jielihaofeng.site.article.query.ArticleQuery;

import java.util.List;

/**
 * 个人网站-文章管理
 *
 * @author 借力好风 949394048@qq.com
 * @since 1.0.0 2022-07-21
 */
public interface ArticleService extends BaseService<ArticleEntity> {

    PageResult<ArticleVO> page(ArticleQuery query);

    Long save(ArticleVO vo);

    Long update(ArticleVO vo);

    void delete(List<Long> idList);
}